package aam.service;

import java.util.List;

import aam.model.SubBoardListVO;
import aam.model.subboard.SubBoardVO;

public interface SubBoardService {
	//방명록
		public SubBoardListVO getAllGuestBookList(String pageNo)throws Exception;
		public int writeGuestBook(String id,String content)throws Exception;
		public int deleteGuestBook(String no)throws Exception;
		
		//댓글
		public void writeReply(SubBoardVO vo) throws Exception;
		public List<SubBoardVO> getReplyByNo(int no) throws Exception;
		public void deleteReply(int replyNo) throws Exception;
		//댓글페이징
		public SubBoardListVO replyPaging(String page,int no)throws Exception;
		
		public void saveReport(String no) throws Exception;
		public List selectReport() throws Exception;
}
